// Same as @apiParam
const apiParser = require('./api_param.js');

function parse (content, source) {
  return apiParser.parse(content, source, 'fields');
}

function path () {
  return 'local.response.success.' + apiParser.getGroup();
}

/**
 * Exports
 */
module.exports = {
  parse: parse,
  path: path,
  method: apiParser.method,
  markdownFields: ['description', 'type'],
  markdownRemovePTags: ['type'],
};
